﻿@model CDIO.Models.UserModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    
}
<div class="container-fluid">
                <div class="row-fluid">
                    <div class="span12">

                        <!-- 内容左侧当前页描述tab -->
                        <ul class="breadcrumb">
                            <li><a class="btn_logo" ><i class="icon-home"></i></a><span class="divider">&nbsp;</span></li>
                            <li><a href="#">用户管理</a><span class="divider">&nbsp;</span></li>
                            <li><a href="#">用户查询</a><span class="divider-last">&nbsp;</span></li>

                            <!-- 内容右侧搜索框 -->
                            <li class="pull-right search-wrap">
                                        <form class="hidden-phone" />
                                        <div class="search-input-area">
                                            <input id=" " class="search-query" type="text" placeholder="搜索" /><i class="icon-search"></i></div>
                                        </form>
                            </li>
                         </ul>
                    </div>
                </div>
                <div id="page" class="dashboard">
                    <div class="square-state">
                        <!-- 内容按钮选择 -->
                        <div class="row-fluid">
                            <a class="icon-btn span2" id="btn_content_user_add"><i class="icon-bullhorn"></i><div>添加</div><span class="badge badge-warning">@Model.account</span></a>
                            @*<a class="icon-btn span2" href="#"><i class="icon-plane"></i><div> 修改</div><span class="badge badge-info">21</span></a>
                            <a class="icon-btn span2" href="#"><i  class="icon-money"></i><div> 删除</div><span class="badge badge-info">12</span></a>*@
                        </div>
                    </div>
                    <!-- 列表 -->
                    <div class="row-fluid">
                        <div class="span12">
                            <div class="widget">
                                <div class="widget-title">
                                    <h4><i class="icon-tags"></i>用户搜索结果</h4>
                                    <span class="tools"><a href="javascript:;" class="icon-chevron-down"></a><a href="javascript:;" class="icon-remove"></a></span>
                                </div>
                                <div class="widget-body">

                                    <!-- 排列顺序 -->
                                    <div class="pull-right">
                                    <select data-placeholder="排序" class="chosen input-small" tabindex="-1" id="inputSort">
                                    <option value="0" />
                                    <option value="1" />积分
                                    <option value="1" />等级
                                    </select>
                                    </div>

                                    <div class="space7">
                                    </div>

                                     <div class="space7">
                                    </div>

                                    <table class="table table-striped table-bordered table-advance table-hover">
                                        <!-- 列表标题栏 -->
                                        <thead>
                                            <tr>
                                                <th>
                                                    <i class="icon-leaf"></i><span class="hidden-phone">ID</span>
                                                </th>
                                                <th>
                                                    <i class="icon-user"></i><span class="hidden-phone ">姓名</span>
                                                </th>
                                                <th>
                                                    <i class="icon-tags"></i><span class="hidden-phone">手机号</span>
                                                </th>
                                                <th>
                                                    <i class="icon-tags"></i><span class="hidden-phone">积分</span>
                                                </th>
                                                <th>
                                                    <i class="icon-tags"></i><span class="hidden-phone">等级</span>
                                                </th>
                                                <th>
                                                    <i class="icon-tags"></i><span class="hidden-phone">详细</span>
                                                </th>
                                                <th>
                                                    <i class="icon-tags"></i><span class="hidden-phone">删除</span>
                                                </th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        @{ 
                                            if (Model.UserModel_user != null)
                                            {
                                                foreach (var item in Model.UserModel_user)
                                                { 
                                                        <tr>
                                                    <td class="highlight">
                                                        <div class="info"></div>
                                                        <a class="text_gift_id">@item._user_id</a>
                                                    </td>
                                                    <td class="text_gift_name">
                                                        @item._user_name
                                                    </td>
                                                    <td>
                                                       @item._user_phone
                                                    </td>
                                                    <td>
                                                        @item._user_credit
                                                    </td>
                                                    <td>
                                                        <span class="label label-success label-mini">@item._user_level</span>
                                                    </td>
                                                    <td class="highlight">
                                                        <a href="#" class="btn_user_detail">详细</a>
                                                    </td>
                                                    <td class="highlight">
                                                        <a href="#" class="btn_user_delete">删除</a>
                                                    </td>
                                                    </tr>
                                                }
                                            }
                                        }
                                      @*      @for (int i = 0; i < 10; i++)
                                            {
                                                <tr>
                                                <td class="highlight">
                                                    <div class="info"></div>
                                                    <a href="#" class="text_gift_id">100001</a>
                                                </td>
                                                <td class="text_gift_name">
                                                    CDIO
                                                </td>
                                                <td>
                                                    18650378486
                                                </td>
                                                <td>
                                                    1000
                                                </td>
                                                <td>
                                                    <span class="label label-success label-mini">高级会员</span>
                                                </td>
                                                <td class="highlight">
                                                    <a href="#" class="btn_user_detail">详细</a>
                                                </td>
                                                <td class="highlight">
                                                    <a href="#" class="btn_user_delete">删除</a>
                                                </td>
                                            </tr>
                                            }*@
                                        </tbody>

                                    </table>
                                    <div class="space7">
                                    </div>
                                     
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

    

